import { defineStore } from "pinia";
import { packagesList as pal } from "@/views/dataview/packages";
import { ref } from "vue";
import { cloneDeep } from "lodash";

export const usePackageStore  = defineStore("package",()=>{
    // 获取现有文件中的组件列表，生成菜单目录
    const packagesList = ref(cloneDeep(pal))
    return {
        packagesList
    }
})